package com.demo.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "oauth.config")
public class OauthProperties {

    /**
     * 解密方式
     * security-oauth2根据前缀使用不同的解码方式进行解密
     * 前缀参考：{@link org.springframework.security.crypto.factory.PasswordEncoderFactories#createDelegatingPasswordEncoder()}
     */
    private String passwordEncode = "{noop}";
}
